package com.sunqianhu.design_patterns_23.structural.decorator;

public class CondimentDecorator implements Beverage{
    protected Beverage beverage;

    public CondimentDecorator(Beverage beverage) {
        this.beverage = beverage;
    }

    @Override
    public double cost() {
        return 2.99;
    }
}
